package com.wanjia.bpsapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 上架信息表
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@TableName("put_client")
@Schema(title ="PutClient对象", description = "上架信息表")
@Data
public class PutClient implements Serializable {

    @Schema(title = "ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(title = "菜品ID")
    private Long vegeId;

    @Schema(title = "基地ID")
    private Long baseId;

    @Schema(title = "客户ID")
    private Long clientId;

    @Schema(title = "成本报价单价")
    private BigDecimal offer;

    @Schema(title = "毛利")
    private String gross;

    @Schema(title = "折扣")
    private String discount;

    @Schema(title = "商务费用")
    private String businessExpense;

    @Schema(title = "上架价格")
    private BigDecimal putOffer;

    @Schema(title = "上架有效时间")
    private Long putValidtime;

    @Schema(title = "备注")
    private String comment;

    @TableField("put_date")
    @Schema(title = "上架日期")
    private Date putDate;

    @Schema(title = "成本项ID集合")
    private String cost;

    @Schema(title = "真实菜品ID")
    private Long realVegeid;

    @Schema(title = "菜品报价数据ID")
    private Long wjProductOfferId;

}
